﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace VietThuongLMS
{
    [HandleError]
    public class BaseController: Controller
    {
        protected override void OnActionExecuting(ActionExecutingContext filterContext)
        {
            if (Session["lang"] != null)
                ResourcesMgt.SetLocalize(Session["lang"].ToString());
            else
                ResourcesMgt.SetLocalize("vi-VN");
        }
    }
}